version: '2'

networks:
  app-zabbix:
    driver: bridge
services:
  postgresql:
    image: postgres:16.2-bullseye
    networks:
      - app-zabbix
    environment:
      POSTGRES_PASSWORD: postgres
    volumes:
      - /data/pgdata:/var/lib/postgresql/data
    ports:
      - 5432:5432
  adminer:
    image: adminer
    restart: always
    ports:
      - 8081:8080
    networks:
      - app-zabbix
#  myapp:
#    image: 'YOUR_APPLICATION_IMAGE'
#    networks:
#      - app-zabbix
